package com.gainloop.Api.Entity;

import java.util.Date;

import com.google.gson.annotations.SerializedName;

public class Session extends EntityAbstract {
	

	@SerializedName("userId")
	private long _userId;
		
	@SerializedName("token")
	private String _token;
	
	@SerializedName("time")
	private long _time;
	
	

	public long getUserId()
	{
		return this._userId;
	}
	
	public String getToken()
	{
		return this._token;
	}
	public Date getTime()
	{
		return new Date(this._time * 1000);
	}
}
